package wms.dao.dict;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import wms.dao.BaseMapper;
import wms.entity.DataDict;

public interface DataDictMapper extends BaseMapper<DataDict>{
	
	/**
	 * 根据typeCode获取数据字典
	 * @param typeCode
	 * @return
	 */
	List<DataDict> listDataDict(@Param("typeCode") String typeCode) throws Exception;
	
	DataDict getDataDict(@Param("typeCode") String typeCode, @Param("valueId") Integer valueId) throws Exception;
	
}
